package com.daka.tools;

/**
 *@Title:Constant.java
 *@Package:com.web.lifeyoyo.volunteer.pu.util
 *@Description: TODO(常量类)
 *@author chunyang1688
 *@date 2014-7-3 下午06:12:20
 *@version 1.0
 */
public class DKQConstant
{



	//默认个人头像
	public static final String HEAR_URL = "http://img.dakaqi.cn/head_placeholder_120.png";
	public static final String HEAR_URLM = "http://img.dakaqi.cn/head_placeholder_80.png";
	public static final String HEAR_URLS = "http://img.dakaqi.cn/head_placeholder_80.png";

	//删除状态 1已删除 0未删除
	public static final int DEL_YES = 1;
	public static final int DEL_NO = 0;
	//用户注册时的来源标识
	public static final int USER_PLATFORM_ANDROID = 0;
	public static final int USER_PLATFORM_IOS = 1;
	public static final int USER_PLATFORM_WEB = 2;
	//用户锁定状态
	public static final int USER_LOCK = 1;
	public static final int USER_UNLOCK = 0;
	//用户
	//会员锁定状态(可以分别通过实名、银行、公安部等信息锁定用户信息)
	public static final int MEMBER_LOCK_0 = 0;
	public static final int MEMBER_LOCK_1 = 1;
	public static final int MEMBER_LOCK_2 = 2;
	public static final int MEMBER_LOCK_3 = 3;
	public static final int MEMBER_LOCK_4 = 4;
	public static final int MEMBER_LOCK_5 = 5;
	//用户角色
	public static final int ROLES_VOLUNTEER = 0;
	public static final int ROLES_ADMIN = 1;
	public static final int ROLES_CREATEER = 2;
	//用户状态
	public static final int APPLY_UN_APPLY_STATUS  = -10;  //未报名
	public static final int APPLY_STATUS  = 0;  //待审核
	public static final int APPLY_STATUS_EXPEL = -99; //已开除
	public static final int APPLY_STATUS_EXIT = -98; //主动退出
	public static final int APPLY_STATUS_REFUST  = -1;//审核拒绝
	public static final int APPLY_STATUS_OK = 2;    //审核通过
	public static final int APPLY_STATUS_ALL = 1000;    //查询所有的记录

	//福利发布状态
	public static final int WELFARE_STATUS_APPLY = 0; //未对外发布
	public static final int WELFARE_STATUS_APPLY_OK = 1;//已对外发布
	public static final int WELFARE_STATUS_APPLY_CANCEL = 2;//取消发布

	//福利领取状态
	public static final int WELFARE_ITEM_UNCHANGE = 0; //未领取
	public static final int WELFARE_ITEM_CHANGE = 1;//已领取

	//评论的类型，好 中 差
	public static final int COMMENT_NO = 0; //未评论
	public static final int COMMENT_YES = 1; //已评论

	public static final int COMMENT_TYPE_GOOD = 2; //好
	public static final int COMMENT_TYPE_MID = 1;//中
	public static final int COMMENT_TYPE = 0;//未评论
	public static final int COMMENT_TYPE_OUT_DATE_ = -2;//七天后，系统自动设置过期
	public static final int COMMENT_TYPE_BAD = -1;//差
	//是否被置顶
	public static final int TOP_YES = 1; //
	public static final int TOP_NO = 0;//
	//显示或不显示
	public static final int DISPLAY_NO = 0;//
	public static final int DISPLAY_YES = 1;//
	//活动的封存状态
	public static final int ACTIVITY_LOCK = 1;
	public static final int ACTIVITY_UNLOCK = 0;

	//进行状态
	public static final int PROCEED_NOT_START = 0;//未开始
	public static final int PROCEED_START = 1;//进行中
	public static final int PROCEED_END = 2;//结束

	//实名认证状态
	public static final int REAL_NAME_VERFIER_STATUS_APPLY = 1;//待审核
	public static final int REAL_NAME_VERFIER_STATUS_OK = 2;//认证已通过
	public static final int REAL_NAME_VERFIER_STATUS_REFUST = -1;//认证已拒绝

	public static final String QQEmail = "2450924849@qq.com";
	public static final String QQEmailPWD = "annie123";
	//public static  String CLIENTID = "100009";
	//public static  String PUBLICKEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0FhAal1diWCkErdynsiCaw9yKuNTs7OQwoP4rYivCNXe2bgATYRrSXNih3V+UzCdIcKZr/YI2zXOdNHwxJmORmqd+vDcDm7PeFlqWHX4tiMAEiHfvJ6r3rXW2oYhNeajvX/TqPmGF/sKsIrmFitbQfzMVjQ8RiCwDIkqRed6seQIDAQAB";

	//public static String CLIENTID = "1003";
	//public static String PUBLICKEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDD9BJZt2vKcpv8VLYzBY3GNvcHKPI721gfOax41TUu1WTmEZoYuYMkhLypeWeQLQktXsdCbEb9drugnMelwYTpJd4X8Dzu1g5Cr9cri5PTgrqX7RgyghKlbOmdCrKeOUV/qTp9QfOdJ1v2tY79Im0bkMR/rir0zmD7mcBwRHW8wIDAQAB";

	static{
		selectCLIENTID();
	}
	public static void selectCLIENTID()
	{
//		String WebRoot = "www.shwg.gov.cn";
//		if(WebRoot.contains("dakaqi.cn") == true)
//		{
//			CLIENTID = "1003";
//			PUBLICKEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDD9BJZt2vKcpv8VLYzBY3GNvcHKPI721gfOax41TUu1WTmEZoYuYMkhLypeWeQLQktXsdCbEb9drugnMelwYTpJd4X8Dzu1g5Cr9cri5PTgrqX7RgyghKlbOmdCrKeOUV/qTp9QfOdJ1v2tY79Im0bkMR/rir0zmD7mcBwRHW8wIDAQAB";
//
//		}
//		else
//		{
//			CLIENTID = "100009";
//			PUBLICKEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQC0FhAal1diWCkErdynsiCaw9yKuNTs7OQwoP4rYivCNXe2bgATYRrSXNih3V+UzCdIcKZr/YI2zXOdNHwxJmORmqd+vDcDm7PeFlqWHX4tiMAEiHfvJ6r3rXW2oYhNeajvX/TqPmGF/sKsIrmFitbQfzMVjQ8RiCwDIkqRed6seQIDAQAB";
//		}

//		CLIENTID = "1003";
//		PUBLICKEY = "MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCDD9BJZt2vKcpv8VLYzBY3GNvcHKPI721gfOax41TUu1WTmEZoYuYMkhLypeWeQLQktXsdCbEb9drugnMelwYTpJd4X8Dzu1g5Cr9cri5PTgrqX7RgyghKlbOmdCrKeOUV/qTp9QfOdJ1v2tY79Im0bkMR/rir0zmD7mcBwRHW8wIDAQAB";

	}
}
